lib: Add a private copy of checksum-instream
authorColin Walters <walters@verbum.org>
Mon, 13 Mar 2017 19:40:24 +0000 (15:40 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 20 Mar 2017 18:32:40 +0000 (18:32 +0000)
commitc2f5a999bfd865696b5456858e3cae984fba46f5
tree4f3ea276df014f62aa8dc00c1d459af5774fe924
parent0b214566a244df2da1fcd2db09b5560a9b3d7280
lib: Add a private copy of checksum-instream

The current `OstreeChecksumInputStream` is public due to a historical
mistake.  I'd like to add an OpenSSL checksum backend, but that's
harder without breaking this API.

Let's ignore it and create a new private version, so it's easier to do the
GLib/OpenSSL abstraction in one place.

Closes: #738
Approved by: jlebon
Makefile-otutil.am
src/libostree/ostree-repo-commit.c
src/libotutil/ot-checksum-instream.c [new file with mode: 0644]
src/libotutil/ot-checksum-instream.h [new file with mode: 0644]
src/libotutil/otutil.h